package com.fau.wmbj.server.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.fau.wmbj.server.entity.User;
import com.fau.wmbj.server.service.base.BaseService;

import java.util.List;

/**
 * 管理员
 *
 * @author jiawei
 * @version 1.0
 * @datetime 2024-02-20 16:31
 */
public interface UserService extends BaseService<User, Long> {

    User getCurrentUser();

    SaTokenInfo login(User user) throws Exception;

    List<Long> selectUserIdsByRoleIds(List<Long> groupIds);
}
